@model FormInputProject.Models.Record

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Record</legend>

    <div class="display-label">Point</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Point).ToString()</div>

    <div class="display-label">OriginValue</div>
    <div class="display-field">@Model.OriginValue</div>

    <div class="display-label">CalculateValue</div>
    <div class="display-field">@Model.CalculateValue</div>

    <div class="display-label">WriteTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.WriteTime)</div>

    <div class="display-label">Creator</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Creator).ToString()</div>

    <div class="display-label">Modified</div>
    <div class="display-field">@String.Format("{0:g}", Model.Modified)</div>

    <div class="display-label">ModifiedBy</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.ModifiedBy).ToString()</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


